<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>08-上下margin折叠_03-无内容块级元素</title>
    <style>
        div, p {
            background-color: #ff0;
        }
    </style>
</head>
<body>

<div>div1</div>

<p>第一段</p>

</body>
</html>